package com.qidian.mes.pojo.qc;

import java.util.Date;

/**
 * @Author 53邹李萍
 * @Company 起点编程
 * @Time 2023/11/1 16:58
 * @Description
 */
public class QcTemplateProduct {
    private Long recordId;
    private Long templateId;
    private Long itemId;
    private String itemCode;
    private String itemName;
    private String specification;
    private String unitOfMeasure;
    private Integer quantityCheck;
    private Integer quantityUnqualified;


    private Double crRate;
    private Double majRate;
    private Double minRate;
    private String remark;
    private String attr1;
    private String attr2;
    private Integer attr3;
    private Integer attr4;

    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;

    public QcTemplateProduct() {
    }

    public QcTemplateProduct(Long recordId, Long templateId, Long itemId, String itemCode, String itemName, String specification, String unitOfMeasure, Integer quantityCheck, Integer quantityUnqualified, Double crRate, Double majRate, Double minRate, String remark, String attr1, String attr2, Integer attr3, Integer attr4, String createBy, Date createTime, String updateBy, Date updateTime) {
        this.recordId = recordId;
        this.templateId = templateId;
        this.itemId = itemId;
        this.itemCode = itemCode;
        this.itemName = itemName;
        this.specification = specification;
        this.unitOfMeasure = unitOfMeasure;
        this.quantityCheck = quantityCheck;
        this.quantityUnqualified = quantityUnqualified;
        this.crRate = crRate;
        this.majRate = majRate;
        this.minRate = minRate;
        this.remark = remark;
        this.attr1 = attr1;
        this.attr2 = attr2;
        this.attr3 = attr3;
        this.attr4 = attr4;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public Integer getQuantityCheck() {
        return quantityCheck;
    }

    public void setQuantityCheck(Integer quantityCheck) {
        this.quantityCheck = quantityCheck;
    }

    public Integer getQuantityUnqualified() {
        return quantityUnqualified;
    }

    public void setQuantityUnqualified(Integer quantityUnqualified) {
        this.quantityUnqualified = quantityUnqualified;
    }

    public Double getCrRate() {
        return crRate;
    }

    public void setCrRate(Double crRate) {
        this.crRate = crRate;
    }

    public Double getMajRate() {
        return majRate;
    }

    public void setMajRate(Double majRate) {
        this.majRate = majRate;
    }

    public Double getMinRate() {
        return minRate;
    }

    public void setMinRate(Double minRate) {
        this.minRate = minRate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    public Integer getAttr3() {
        return attr3;
    }

    public void setAttr3(Integer attr3) {
        this.attr3 = attr3;
    }

    public Integer getAttr4() {
        return attr4;
    }

    public void setAttr4(Integer attr4) {
        this.attr4 = attr4;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "QcTemplateProduct{" +
                "recordId=" + recordId +
                ", templateId=" + templateId +
                ", itemId=" + itemId +
                ", itemCode='" + itemCode + '\'' +
                ", itemName='" + itemName + '\'' +
                ", specification='" + specification + '\'' +
                ", unitOfMeasure='" + unitOfMeasure + '\'' +
                ", quantityCheck='" + quantityCheck + '\'' +
                ", quantityUnqualified='" + quantityUnqualified + '\'' +
                ", crRate='" + crRate + '\'' +
                ", majRate='" + majRate + '\'' +
                ", minRate='" + minRate + '\'' +
                ", remark='" + remark + '\'' +
                ", attr1='" + attr1 + '\'' +
                ", attr2='" + attr2 + '\'' +
                ", attr3=" + attr3 +
                ", attr4=" + attr4 +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
